package com.mxm.mall.demo.entity;

import java.math.BigDecimal;


/**
 * 购买商品实体
 *
 * @author mxm
 */
public class ShoopingCar {


    public ShoopingCar(Integer productId, BigDecimal amount) {
        this.productId = productId;
        this.amount = amount;
    }


    /**
     * 商品id
     */
    private Integer productId;

    /**
     * 数量/斤
     */
    private BigDecimal amount;


    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
}
